package com.lsl.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lsl.common.utils.PageUtils;
import com.lsl.gulimall.product.entity.AttrGroupEntity;
import com.lsl.gulimall.product.vo.request.AttrGroupRelationInVo;
import com.lsl.gulimall.product.vo.request.AttrGroupWithAttrsInVo;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author liushengli
 * @email sunlightcs@gmail.com
 * @date 2021-03-14 17:27:58
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {
    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, long categoryId);

    AttrGroupEntity getPathById(Long attrGroupId);

    void saveAttrGroupRelation(List<AttrGroupRelationInVo> attrGroupRelationInVos);

    void deleteRelation(List<AttrGroupRelationInVo> attrGroupRelationInVos);

}

